package com.project.service;

import java.util.List;
import java.util.Map;

import com.project.entity.Announcement;

public interface AnnouncementManager {
	public List<Announcement> getAllNotice(Map<String,String> map);
	
	public void insertAnnouncement(Announcement announcement);
	
	public void deleteById(Integer id);
	
	public Announcement findById(Integer id);
	
	public void updateAnnouncement(Announcement announcement);
	
	public List<Announcement> findByAuther(String autherName);
	
	public int totalCount(Map<String,String> map);
}
